/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.shop.domain;

import java.util.Date;

/**
 *
 * @author 3500512
 */
public class Transactions {

    private Customer customer_Id;
    private Long transaction_Id;
    private double purchase_Amount;
    private double payment_Amount;
    private double remaining_Balance;
    private Date date;

    public Transactions() {
    }

    public Transactions(Customer customer_Id, Long transaction_Id, double purchase_Amount, double payment_Amount, double remaining_Balance, Date date) {
        this.customer_Id = customer_Id;
        this.transaction_Id = transaction_Id;
        this.purchase_Amount = purchase_Amount;
        this.payment_Amount = payment_Amount;
        this.remaining_Balance = remaining_Balance;
        this.date = date;
    }

    public double getPurchase_Amount() {
        return purchase_Amount;
    }

    public void setPurchase_Amount(double purchase_Amount) {
        this.purchase_Amount = purchase_Amount;
    }

    public Customer getCustomer_Id() {
        return customer_Id;
    }

    public void setCustomer_Id(Customer customer_Id) {
        this.customer_Id = customer_Id;
    }

    public Long getTransaction_Id() {
        return transaction_Id;
    }

    public void setTransaction_Id(Long transaction_Id) {
        this.transaction_Id = transaction_Id;
    }

    public double getPayment_Amount() {
        return payment_Amount;
    }

    public void setPayment_Amount(double payment_Amount) {
        this.payment_Amount = payment_Amount;
    }

    public double getRemaining_Balance() {
        return remaining_Balance;
    }

    public void setRemaining_Balance(double remaining_Balance) {
        this.remaining_Balance = remaining_Balance;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("Balance [customer_Id=");
        builder.append(customer_Id);
        builder.append(", transaction_Id=");
        builder.append(transaction_Id);
        builder.append(", payment_Amount=");
        builder.append(payment_Amount);
        builder.append(", remaining_Balance=");
        builder.append(remaining_Balance);
        builder.append(", date=");
        builder.append(date);
        builder.append("]");
        return builder.toString();
    }
}
